package edu.uci.ics.jung.visualization.renderers;

import java.awt.Point;
import java.util.Map;
import java.util.TreeMap;

import co.edu.poli.ficb.agl.automatable.modelo.automatas.TransicionImpl;

public class LabelConfiguration {

	private Map<TransicionImpl, Point> map;
	
	public LabelConfiguration() {
		map = new TreeMap<TransicionImpl, Point>();
	}

	public void savePosition(TransicionImpl e, int x, int y) {
		map.put(e, new Point(x,y));
	}

	public Point getPosition(TransicionImpl regla) {
		return map.get(regla);
	}

}
